Remove an option setting from the named query options.
MarkLogic Server returns status 204 Deleted status.
rest-admin
role, or the
following privileges:
http://marklogic.com/xdmp/privileges/rest-admin
http://marklogic.com/xdmp/privileges/rest-writer
http://marklogic.com/xdmp/privileges/rest-reader
{child-element}
should be the name of a child element of
a search:options
node. For an option summary, see
PUT /v1/config/query/(default|{name})
.
For details, see
Appendix: Query Options Reference in the Search Developer's Guide.
If {child-element}
is unrecognized, this request does nothing.
If the named query options contain multiple occurrences of the
child element, MarkLogic Server deletes all occurrences. For example,
DELETE /v1/config/query/my-options/constraint
deletes all
<constraint/>
elements of "my-options".
For more details, see Configuring Query Options in the REST Application Developer's Guide.